<template>
  <div style="width: 100%;height:100%;">
    <CommandPanel :viewer="viewer"></CommandPanel>
    <Map @onReady="onReady"></Map>
  </div>
</template>
<script setup>
import {ref} from 'vue'
import Map from './components/Map.vue'
import CommandPanel from './components/CommandPanel.vue'

let viewer = ref();

const onReady = (_viewer) => {
  viewer.value = _viewer;
}

</script>


<style scoped></style>
